import listBuilder from "@/comps/list/listBuilder";

/*
lb.add("belongTo","所属",80)
lb.add("money","支付金额",80)
lb.add("applyEmp","申请人",80)
lb.add("payAt","支付时间",80)
lb.add("payFeed","支付凭据",80)
lb.add("payEmp","付款人",80)
lb.add("isPay","是否付款",80)
lb.add("isLock","是否锁定",80)

*/
export default function () {
    let lb = listBuilder()
    lb.add("id","#",80)
    lb.addAction(80).setAlignCenter()
    lb.add("_act","确认操作",120).setAlignCenter()

    lb.add("type","回款类型",180).setListIsObjectName()
    lb.add("belongTo","所属",0).setListIsObject("title")
    lb.add("applyEmp","登记人",120).setListIsObjectName()
    lb.add("money","回款金额",120)
    lb.add("payAt","回款时间",180).setListIsDateTime()
    // lb.add("payEmp","付款人",120).setListIsObjectName()
    lb.add("isPay","是否回款",90).setIsSwitch()
    // lb.add("isLock","是否锁定",90).setIsSwitch()
    return lb.headers
}